package com.web.fsc.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.web.fsc.domain.Paper;

public interface IPaperService {
	public void add(MultipartFile file,Paper paper);

	public void delete(Long id);

	public List<Paper> searchByTopic(String topic);

	public List<Paper> listByCategory(String category);
	
	public List<Paper> listAll();
	
	public void download(long fileid);

	public List<Paper> listBySystem(String category, String system);

	public List<Paper> searchByAuthor(String author);

	public List<Paper> searchByKey_word(String key_word);

	public List<Paper> searchBySummary(String summary);

	public List<Paper> search(String key);
	
}
